package simpleFactory;

import lombok.Data;

/**
 * @author xiayuanxing
 * @description 披萨接口
 * @date 2021/12/16 15:01
 */
@Data
public class Pizza {

    private String Name;

    public void prepare(){
        System.out.println("披萨准备~~");
    }

    public void bake(){
        System.out.println("披萨烤制~~");
    }

    public void cut(){
        System.out.println("披萨切块~~");
    }

    public void box(){
        System.out.println("披萨装盒~~");
    }


}
